names = ['诸葛亮', '刘备', '张飞']
for name in names:
    print(name)
print('+++++++++++++++++')
# print(names[0])
# print(names[1])
# print(names[2])
# len函数获取长度
print(len(names))
for index in range(0,3):
    print(names[index])